//
//  YSGMyopiaRecordInfoCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2021/1/5.
//  Copyright © 2021 QDSG. All rights reserved.
//

import UIKit

class YSGMyopiaRecordInfoCell: UITableViewCell {
    
    func configure(with vm: YSGMyopiaRecordDetailViewModel?) {
        titleLabel.text = vm?.model.checkItem
        nameLabel.attributedText = vm?.name
        positionLabel.text = vm?.recordPosition
        timeLabel.text = vm?.reserveTime
        hospitalLabel.text = vm?.hospitalName
    }
    
    @IBOutlet private weak var containerView: UIView! {
        didSet {
            containerView.layer.cornerRadius = 16
            containerView.setShadow()
        }
    }
    @IBOutlet private weak var titleLabel: UILabel!
    @IBOutlet private weak var nameLabel: UILabel!
    @IBOutlet private weak var positionLabel: UILabel!
    @IBOutlet private weak var timeLabel: UILabel!
    @IBOutlet private weak var hospitalLabel: UILabel!
    
}
